package com.gun.management.module.raffle.controller.admin.lotteryrecord.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.gun.management.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.gun.management.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户抽奖履历分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LotteryRecordPageReqVO extends PageParam {


    @Schema(description = "用户id", example = "29471")
    private Long userId;

    @Schema(description = "抽奖id", example = "3674")
    private Long lotteryId;

    @Schema(description = "奖品id", example = "17863")
    private Long ruleId;

    @Schema(description = "总抽奖次数")
    private Integer totalTimes;

    @Schema(description = "总剩余次数")
    private Integer leftTimes;

    @Schema(description = "每人每天总抽奖次数")
    private Integer dayTotalTimes;

    @Schema(description = "当天已剩余次数")
    private Integer dayLeftTimes;

    @Schema(description = "当前已消耗积分")
    private Integer expenseScore;

    @Schema(description = "当前剩余积分")
    private Integer leftScore;

    @Schema(description = "状态(0-未中奖 1-已中奖）", example = "1")
    private Integer status;

    @Schema(description = "抽奖时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lotteryTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}